import { Entity, PrimaryGeneratedColumn, Column } from "typeorm";

@Entity('group')
export class GroupEntity {
  @PrimaryGeneratedColumn('uuid')
  id: string;

  @Column()
  name: string;

  @Column() 
  owner: string;

  @Column()
  notice: string;

  @Column({type: 'double', default: new Date().valueOf()})
  create_at: number;
}